﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HAGISV2
{

    public enum MAPMODE
    {
        NONE,
        SELECT,
        ZOOMIN,
        ZOOMOUT,
        PAN,
        MEASURE,
        ADDPOINT,
        ADDLINE,
        ADDPOLYLINE,
        ADDPOLYGON,

        TRANSLATE,

        //概念层选择
        ALLSELECT,
        NODESELECT,
        VERTEXSELECT,
        LINESELECT,
        LINEARRAYSELECT,
        PLANSELECT,
        ADDVERTEX,

        //编辑工具
        CLIPPOLY,

        //移动图例
        MOVELEGEND,

        //网格编辑专用工具
        GRIDPOINT,
        GRIDCELL,
        GRIDROW,
        GRIDCOL,
        GRIDLAYER,


        GRIDADDROW,
        GRIDADDCOL,


        //网格边框工具
        GRIDFRAME,
        
        //Scatter2D操作
        SCATTER2DSELECT,
        SCATTER2DADD,


    }


    /// <summary>
    /// 用于要求绘制的图形类型
    /// </summary>
    public enum MFSHAPETYPE
    {
        POINT,
        LINE,
        //POLYLINE,
        POLYGON,
        VERTEX,
        NODE
    }

    /// <summary>
    /// 概念层右键标志
    /// </summary>
    public enum CONCEPTLAYERRIGHTMENU
    {
        NONE,
        POINT,
        LINE,
        VERTEX,
        NODE,
        POLYGON

    }

    /// <summary>
    /// 概念层源汇项种类
    /// </summary>
    public enum CONCEPTLAYERSOURCESINK
    {
        LAYERRANGE,
        WELL,
        REFINEPOINTS,
        SPECIFIEDHEAD,
        SPECIFIEDFLOW,
        GENERALHEAD,
        DRAIN,
        RIVER,
        LAKE,
        BARRIER,
        OBSERVEDFLOW,
        TANSOBSERVEDFLOW,
        SEEPAGEFACE,
        NONE


    }



    /// <summary>
    /// 主表现控件的视图模式，模拟三维下的不同视角
    /// </summary>
    public enum FMAPVIEW
    {
        NORMAL,//正视图
        FRONT,
        RIGHT
    }


    /// <summary>
    /// 用于表示三维离散网格时，编辑状态
    /// </summary>
    public enum MFEDITGRIDMODE
    {
        None,
        EditByNode,
        SelectByCell,
        SelectByRowCell,
        SelectByColCell,
        SelectByLayer,
        AddRow,
        AddCol

    }

    /// <summary>
    /// 二维中源汇项表示形状
    /// </summary>
    public enum MFSOURCESINKSDISPLAYMODE
    {
        Diamond,
        Ellipse,
        Hexagon,
        Rectangle,
        Pentagon,
        Star,
        Triangle,
    }


    /// <summary>
    /// 概念层选择方式
    /// </summary>
    public enum HSelectMode
    {
        None,
        All,
        Node,
        Vertex,
        Line,
        Polygon,
        Group,
        InsertVertex
    }

    /// <summary>
    /// Scatter2D操作方式
    /// </summary>
    public enum MFSCATTER2DMODE
    {
        None,
        Select,
        Add
    }


    public enum MFBasicOperationMode
    {
        Add,
        Edit,
        Delete
    }
}
